.Dd Feb 11, 2017
.Dt EL 1
.Os
.Sh NAME
.Nm el
.Nd a simple
.Xr editline 3
front-end
.Sh SYNOPSIS
.Nm
.Op Fl Cefv
.Op Fl h Ar history-size
.Op Fl p Ar prompt
.Ar output
.Op Ar
.Nm
.Op Fl ev
.Op Fl E Ar editor-type
.Op Fl h Ar history-size
.Op Fl p Ar prompt
.Fl d Ar output-fd
.Op Ar
.Nm
.Op Fl ev
.Op Fl E Ar editor-type
.Op Fl h Ar history-size
.Op Fl p Ar prompt
.Fl c Ar command
.Op Ar
.Sh DESCRIPTION
Read from the tty using
.Xr editline 3
and write the results to
.Ar output .
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl C
If
.Ar output
does not exist, create it.  Overrides
.Fl f .
.It Fl e
Set the editor type to
.Dq emacs .
.It Fl f
If
.Ar output
does not exist, create it as an fifo.  Overrides
.Fl C .
.It Fl v
Set the editor type to
.Dq vi .
.It Fl E Ar editor-type
Set the editor type, if no type is provided the best guess will be
infered from either
.Ev VISUAL
or
.Ev EDITOR .
.It Fl h Ar history-size
Set the number of history elements to keep.
.It Fl p Ar prompt
Set the prompt.
.It Ar
Write the concatenation of the provided files to
.Ar output
before reading from the tty.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr editline 3
.Xr editrc 5
